package com.swind.fast.modules.app.wii.article.entity;

import com.swind.fast.common.aspect.annotation.Dict;
import com.swind.fast.common.system.base.entity.SwindEntity;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.FieldFill;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 项目
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sca_wii_article_content")
public class WiiArticleContent extends SwindEntity {
    private String articleId;
    private String content;

    public WiiArticleContent(String articleId, String content) {
        this.articleId = articleId;
        this.content = content;
    }

    @TableLogic
    @TableField(select = false, fill = FieldFill.INSERT)
    private Integer deleted;
}
